<?php
/**
 * Created by PhpStorm.
 * User: Administrator
 * Date: 2018/4/29 0029
 * Time: 15:43
 */

namespace app\api\controller;

use think\Controller;

class Address extends Controller
{
    public function checkAddress(){
        $address = input('get.adress');
        $lnglat = \Map::getLngLat($address);
        if($lnglat){
            return '地址检测通过';
        }else{
            return '地址检测失败';
        }

    }
}